import axios from 'axios'
// 这是搜索cinema
export default function request(cityId) {
    return axios({
            url: "https://m.maizuo.com/gateway?ticketFlag=0&k=3483113&cityId=" + cityId,
            headers: {
                "X-Host": "mall.film-ticket.cinema.list",
                "X-Client-Info":`{"a":"3000","ch":"1002","v":"5.0.4","e":"1632883373297662708449281"}`
            },
            method: "get"
        }).then(function (response) {
          
            return response.data.data.cinemas
        })
        .catch(function (error) {
            console.log(error);
        });


}